Fix duplicate columns in filechooser entry completion
authorMatthias Clasen <mclasen@redhat.com>
Thu, 18 Oct 2012 01:21:09 +0000 (21:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 18 Oct 2012 01:27:26 +0000 (21:27 -0400)
This partically reverts commit
331bba1ad6c5d9535fc5a827b91019f5824e25a7, which broke documented
behaviour.

gtk/gtkentrycompletion.c

index dbc14f0041245be4e27e47a867a942fef255637a..2f4bd28e7c2617b7a0fe865ddeaf4b5f0862c572 100644 (file)
@@ -656,8 +656,7 @@ gtk_entry_completion_set_property (GObject      *object,
         break;
 
       case PROP_TEXT_COLUMN:
-       gtk_entry_completion_set_text_column (completion,
-                                             g_value_get_int (value));
+        priv->text_column = g_value_get_int (value);
         break;
 
       case PROP_INLINE_COMPLETION: